projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67019e7
)
(locate): Disable undo in *Locate* buffer.
author
Juri Linkov
<juri@jurta.org>
Fri, 9 Dec 2005 09:56:39 +0000
(09:56 +0000)
committer
Juri Linkov
<juri@jurta.org>
Fri, 9 Dec 2005 09:56:39 +0000
(09:56 +0000)
lisp/locate.el
patch
|
blob
|
history
diff --git
a/lisp/locate.el
b/lisp/locate.el
index 5b61ed522e9f805cbdcb664555d308feef3e206b..5934a572d4d0396267b30f0c86dc56dcd83867ee 100644
(file)
--- a/
lisp/locate.el
+++ b/
lisp/locate.el
@@
-229,7
+229,8
@@
With prefix arg, prompt for the locate command to run."
(save-window-excursion
(set-buffer (get-buffer-create locate-buffer-name))
(locate-mode)
- (let ((inhibit-read-only t))
+ (let ((inhibit-read-only t)
+ (buffer-undo-list t))
(erase-buffer)
(setq locate-current-filter filter)